package com.woniu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "swagger")
@Component
@Data
public class SwaggerProperties {

	private String title;
	
	private String desc;
	
	private String version = "1.0";
	
	private String basePackages;
	@NestedConfigurationProperty
	private SwaggerContact contact;
}
